package cn.kxx.service;

import cn.kxx.entity.PageResult;
import cn.kxx.entity.QueryPageBean;
import cn.kxx.exception.BusinessException;
import cn.kxx.pojo.CheckGroup;

import java.util.List;

public interface CheckGroupService {
    void add(Integer[] checkitemIds, CheckGroup checkGroup)throws BusinessException;

    PageResult findPage(QueryPageBean queryPageBean)throws BusinessException;

    CheckGroup findById(Integer id) throws BusinessException;

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id)throws BusinessException;

    void edit(Integer[] checkitemIds, CheckGroup checkGroup)throws BusinessException;

    void delete(Integer id)throws BusinessException;

    List<CheckGroup> findAll() throws BusinessException;
}
